home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 127 / PC Guia 127.iso / Software / Produtividade / OpenOffice.org 2.0.1 / openofficeorg1.cab / dialog.dtd < prev    next >
Extensible Markup Language  |  2005-09-10  |  19KB  |  401 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3.  
  4.     OpenOffice.org - a multi-platform office productivity suite
  5.  
  6.     $RCSfile: dialog.dtd,v $
  7.  
  8.     $Revision: 1.25 $
  9.  
  10.     last change: $Author: rt $ $Date: 2005/09/09 16:07:19 $
  11.  
  12.     The Contents of this file are made available subject to
  13.     the terms of GNU Lesser General Public License Version 2.1.
  14.  
  15.  
  16.       GNU Lesser General Public License Version 2.1
  17.       =============================================
  18.       Copyright 2005 by Sun Microsystems, Inc.
  19.       901 San Antonio Road, Palo Alto, CA 94303, USA
  20.  
  21.       This library is free software; you can redistribute it and/or
  22.       modify it under the terms of the GNU Lesser General Public
  23.       License version 2.1, as published by the Free Software Foundation.
  24.  
  25.       This library is distributed in the hope that it will be useful,
  26.       but WITHOUT ANY WARRANTY; without even the implied warranty of
  27.       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  28.       Lesser General Public License for more details.
  29.  
  30.       You should have received a copy of the GNU Lesser General Public
  31.       License along with this library; if not, write to the Free Software
  32.       Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  33.       MA  02111-1307  USA
  34.  
  35. -->
  36.  
  37. <!ENTITY % boolean "(true|false)">
  38. <!ENTITY % numeric "CDATA">
  39.  
  40. <!ENTITY % default-attributes "dlg:id CDATA #REQUIRED
  41.                                dlg:left %numeric; #REQUIRED
  42.                                dlg:top %numeric; #REQUIRED
  43.                                dlg:width %numeric; #REQUIRED
  44.                                dlg:height %numeric; #REQUIRED
  45.                                dlg:style-id CDATA #IMPLIED
  46.                                dlg:tab-index %numeric; #IMPLIED
  47.                                dlg:disabled %boolean; #IMPLIED
  48.                                dlg:printable %boolean; #IMPLIED
  49.                                dlg:page %numeric; #IMPLIED
  50.                                dlg:tag CDATA #IMPLIED
  51.                                dlg:help-text CDATA #IMPLIED
  52.                                dlg:help-url CDATA #IMPLIED
  53.                                ">
  54.  
  55. <!ENTITY % event "(script:event|
  56.                    script:listener-event|
  57.                    dlg:event
  58.                   )">
  59.  
  60. <!ENTITY % control "(dlg:bulletinboard|
  61.                      dlg:button|
  62.                      dlg:checkbox|
  63.                      dlg:combobox|
  64.                      dlg:menulist|
  65.                      dlg:radiogroup|
  66.                      dlg:titledbox|
  67.                      dlg:textfield|
  68.                      dlg:text|
  69.                      dlg:filecontrol|
  70.                      dlg:img|
  71.                      dlg:timefield|
  72.                      dlg:datefield|
  73.                      dlg:numericfield|
  74.                      dlg:currencyfield|
  75.                      dlg:patternfield|
  76.                      dlg:formattedfield|
  77.                      dlg:fixedline|
  78.                      dlg:progressmeter|
  79.                      dlg:scrollbar
  80.                     )">
  81.  
  82. <!ELEMENT dlg:window (dlg:styles*, (%event;)*, dlg:bulletinboard*)>
  83. <!ATTLIST dlg:window %default-attributes;
  84.                      dlg:closeable %boolean; #IMPLIED
  85.                      dlg:moveable %boolean; #IMPLIED
  86.                      dlg:resizeable %boolean; #IMPLIED
  87.                      dlg:title CDATA #IMPLIED
  88.                      xmlns:dlg CDATA #FIXED "http://openoffice.org/2000/dialog"
  89.                      xmlns:script CDATA #FIXED "http://openoffice.org/2000/script"
  90.                      >
  91.  
  92. <!ELEMENT dlg:styles (dlg:style+)>
  93.  
  94. <!ELEMENT dlg:style EMPTY>
  95. <!ATTLIST dlg:style dlg:style-id CDATA #REQUIRED
  96.                     dlg:background-color %numeric; #IMPLIED
  97.                     dlg:text-color %numeric; #IMPLIED
  98.                     dlg:textline-color %numeric; #IMPLIED
  99.                     dlg:fill-color %numeric; #IMPLIED
  100.                     dlg:border CDATA #IMPLIED
  101.                     dlg:font-name CDATA #IMPLIED
  102.                     dlg:font-height %numeric; #IMPLIED
  103.                     dlg:font-width %numeric; #IMPLIED
  104.                     dlg:font-stylename CDATA #IMPLIED
  105.                     dlg:font-family (decorative|modern|roman|script|swiss|system) #IMPLIED
  106.                     dlg:font-charset (ansi|mac|ibmpc_437|ibmpc_850|ibmpc_860|ibmpc_861|ibmpc_863|ibmpc_865|system|symbol) #IMPLIED
  107.                     dlg:font-pitch (fixed|variable) #IMPLIED
  108.                     dlg:font-charwidth %numeric; #IMPLIED
  109.                     dlg:font-weight %numeric; #IMPLIED
  110.                     dlg:font-slant (oblique|italic|reverse_oblique|reverse_italic) #IMPLIED
  111.                     dlg:font-underline (single|double|dotted|dash|longdash|dashdot|dashdotdot|smallwave|wave|doublewave|bold|bolddotted|bolddash|boldlongdash|bolddashdot|bolddashdotdot|boldwave) #IMPLIED
  112.                     dlg:font-strikeout (single|double|bold|slash|x) #IMPLIED
  113.                     dlg:font-orientation CDATA #IMPLIED
  114.                     dlg:font-kerning %boolean; #IMPLIED
  115.                     dlg:font-wordlinemode %boolean; #IMPLIED
  116.                     dlg:font-type (raster|device|scalable) #IMPLIED
  117.                     dlg:font-relief (none|embossed|engraved) #IMPLIED
  118.                     dlg:font-emphasismark (none|dot|circle|disc|accent|above|below) #IMPLIED
  119.                     dlg:look (none|3d|simple) #IMPLIED
  120.                     >
  121.  
  122. <!ELEMENT script:event EMPTY>
  123. <!ATTLIST script:event script:location CDATA #IMPLIED
  124.                        script:language CDATA #REQUIRED
  125.                        script:macro-name CDATA #REQUIRED
  126.                        script:event-name CDATA #REQUIRED
  127.                        >
  128. <!ELEMENT script:listener-event EMPTY>
  129. <!ATTLIST script:listener-event script:location CDATA #IMPLIED
  130.                                 script:language CDATA #REQUIRED
  131.                                 script:macro-name CDATA #REQUIRED
  132.                                 script:listener-type CDATA #REQUIRED
  133.                                 script:listener-method CDATA #REQUIRED
  134.                                 script:listener-param CDATA #IMPLIED
  135.                                 >
  136. <!-- deprecated -->
  137. <!ELEMENT dlg:event EMPTY>
  138. <!ATTLIST dlg:event dlg:listener-type CDATA #REQUIRED
  139.                     dlg:event-method CDATA #REQUIRED
  140.                     dlg:script-type CDATA #IMPLIED
  141.                     dlg:script-code CDATA #IMPLIED
  142.                     dlg:param CDATA #IMPLIED
  143.                     >
  144. <!-- /deprecated -->
  145.                         
  146. <!ELEMENT dlg:bulletinboard ((%control;)*)>
  147. <!ATTLIST dlg:bulletinboard dlg:left %numeric; #IMPLIED
  148.                             dlg:top %numeric; #IMPLIED
  149.                             >
  150.  
  151. <!ELEMENT dlg:button ((%event;)*)>
  152. <!ATTLIST dlg:button %default-attributes;
  153.                      dlg:value CDATA #IMPLIED
  154.                      dlg:align (left|center|right) #IMPLIED
  155.                      dlg:valign (top|center|bottom) #IMPLIED
  156.                      dlg:checked %boolean; #IMPLIED
  157.                      dlg:image-src CDATA #IMPLIED
  158.                      dlg:image-position (left-top|left-center|left-bottom|right-top|right-center|right-bottom|top-left|top-center|top-right|bottom-left|bottom-center|bottom-right|center) #IMPLIED
  159.                      dlg:image-align (top|left|right|bottom) #IMPLIED
  160.                      dlg:default %boolean; #IMPLIED
  161.                      dlg:tabstop %boolean; #IMPLIED
  162.                      dlg:button-type (standard|ok|cancel|help) #IMPLIED
  163.                      dlg:repeat %numeric; #IMPLIED
  164.                      dlg:toggled (0|1) #IMPLIED
  165.                      dlg:grab-focus (true|false) #IMPLIED
  166.                      dlg:multiline %boolean; #IMPLIED
  167.                      >
  168.  
  169. <!ELEMENT dlg:checkbox ((%event;)*)>
  170. <!ATTLIST dlg:checkbox %default-attributes;
  171.                        dlg:value CDATA #IMPLIED
  172.                        dlg:align (left|center|right) #IMPLIED
  173.                        dlg:valign (top|center|bottom) #IMPLIED
  174.                        dlg:checked %boolean; #IMPLIED
  175.                        dlg:tristate %boolean; #IMPLIED
  176.                        dlg:tabstop %boolean; #IMPLIED
  177.                        dlg:image-src CDATA #IMPLIED
  178.                        dlg:image-position (left-top|left-center|left-bottom|right-top|right-center|right-bottom|top-left|top-center|top-right|bottom-left|bottom-center|bottom-right|center) #IMPLIED
  179.                        dlg:multiline %boolean; #IMPLIED
  180.                        >
  181.  
  182. <!ELEMENT dlg:combobox (dlg:menupopup?, (%event;)*)>
  183. <!ATTLIST dlg:combobox %default-attributes;
  184.                        dlg:tabstop %boolean; #IMPLIED
  185.                        dlg:readonly %boolean; #IMPLIED
  186.                        dlg:autocomplete %boolean; #IMPLIED
  187.                        dlg:spin %boolean; #IMPLIED
  188.                        dlg:maxlength %numeric; #IMPLIED
  189.                        dlg:linecount %numeric; #IMPLIED
  190.                        dlg:value CDATA #IMPLIED
  191.                        dlg:hide-inactive-selection %boolean; #IMPLIED
  192.                        dlg:align (left|center|right) #IMPLIED                       
  193.                        >
  194.  
  195. <!ELEMENT dlg:menulist (dlg:menupopup?, (%event;)*)>
  196. <!ATTLIST dlg:menulist %default-attributes;
  197.                        dlg:tabstop %boolean; #IMPLIED
  198.                        dlg:spin %boolean; #IMPLIED
  199.                        dlg:multiselection %boolean; #IMPLIED
  200.                        dlg:readonly %boolean; #IMPLIED
  201.                        dlg:linecount %numeric; #IMPLIED
  202.                        dlg:align (left|center|right) #IMPLIED
  203.                        >
  204.  
  205. <!ELEMENT dlg:menupopup (dlg:menuitem+)>
  206. <!ELEMENT dlg:menuitem EMPTY>
  207. <!ATTLIST dlg:menuitem dlg:value CDATA #REQUIRED
  208.                        dlg:selected %boolean; #IMPLIED
  209.                        >
  210.  
  211. <!ELEMENT dlg:radiogroup (dlg:radio+)>
  212. <!ELEMENT dlg:radio ((%event;)*)>
  213. <!ATTLIST dlg:radio %default-attributes;
  214.                     dlg:value CDATA #IMPLIED
  215.                     dlg:align (left|center|right) #IMPLIED
  216.                     dlg:valign (top|center|bottom) #IMPLIED
  217.                     dlg:checked %boolean; #IMPLIED
  218.                     dlg:tabstop %boolean; #IMPLIED
  219.                     dlg:image-src CDATA #IMPLIED
  220.                     dlg:image-position (left-top|left-center|left-bottom|right-top|right-center|right-bottom|top-left|top-center|top-right|bottom-left|bottom-center|bottom-right|center) #IMPLIED
  221.                     dlg:multiline %boolean; #IMPLIED
  222.                     >
  223.  
  224. <!ELEMENT dlg:titledbox (dlg:title?, dlg:radio*, (%control;)*, (%event;)*)>
  225. <!ATTLIST dlg:titledbox %default-attributes;
  226.                         >
  227. <!ELEMENT dlg:title EMPTY>
  228. <!ATTLIST dlg:title dlg:value CDATA #IMPLIED
  229.                     >
  230.  
  231. <!ELEMENT dlg:text ((%event;)*)>
  232. <!ATTLIST dlg:text %default-attributes;
  233.                    dlg:value CDATA #IMPLIED
  234.                    dlg:align (left|center|right) #IMPLIED
  235.                    dlg:valign (top|center|bottom) #IMPLIED
  236.                    dlg:multiline %boolean; #IMPLIED
  237.                    dlg:tabstop %boolean; #IMPLIED
  238.                    >
  239.  
  240. <!ELEMENT dlg:textfield ((%event;)*)>
  241. <!ATTLIST dlg:textfield %default-attributes;
  242.                         dlg:tabstop %boolean; #IMPLIED
  243.                         dlg:align (left|center|right) #IMPLIED
  244.                         dlg:readonly %boolean; #IMPLIED
  245.                         dlg:echochar CDATA #IMPLIED
  246.                         dlg:hard-linebreaks %boolean; #IMPLIED
  247.                         dlg:hscroll %boolean; #IMPLIED
  248.                         dlg:vscroll %boolean; #IMPLIED
  249.                         dlg:maxlength %numeric; #IMPLIED
  250.                         dlg:multiline %boolean; #IMPLIED
  251.                         dlg:value CDATA #IMPLIED
  252.                         dlg:hide-inactive-selection %boolean; #IMPLIED
  253.                         dlg:lineend-format (carriage-return|line-feed|carriage-return-line-feed) #IMPLIED
  254.                         >
  255.  
  256. <!ELEMENT dlg:img ((%event;)*)>
  257. <!ATTLIST dlg:img %default-attributes;
  258.                   dlg:src CDATA #IMPLIED
  259.                   dlg:scale-image %boolean; #IMPLIED
  260.                   dlg:tabstop %boolean; #IMPLIED
  261.                   >
  262.  
  263. <!ELEMENT dlg:filecontrol ((%event;)*)>
  264. <!ATTLIST dlg:filecontrol %default-attributes;
  265.                           dlg:tabstop %boolean; #IMPLIED
  266.                           dlg:value CDATA #IMPLIED
  267.                           dlg:hide-inactive-selection %boolean; #IMPLIED
  268.                           dlg:readonly %boolean; #IMPLIED
  269.                           >
  270.  
  271. <!ELEMENT dlg:currencyfield ((%event;)*)>
  272. <!ATTLIST dlg:currencyfield %default-attributes;
  273.                             dlg:tabstop %boolean; #IMPLIED
  274.                             dlg:readonly %boolean; #IMPLIED
  275.                             dlg:currency-symbol CDATA #IMPLIED
  276.                             dlg:strict-format %boolean; #IMPLIED
  277.                             dlg:decimal-accuracy %numeric; #IMPLIED
  278.                             dlg:thousands-separator %boolean; #IMPLIED
  279.                             dlg:value %numeric; #IMPLIED
  280.                             dlg:value-min %numeric; #IMPLIED
  281.                             dlg:value-max %numeric; #IMPLIED
  282.                             dlg:value-step %numeric; #IMPLIED
  283.                             dlg:spin %boolean; #IMPLIED
  284.                             dlg:repeat %numeric; #IMPLIED
  285.                             dlg:hide-inactive-selection %boolean; #IMPLIED
  286.                             dlg:prepend-symbol %boolean; #IMPLIED
  287.                             dlg:enforce-format %boolean; #IMPLIED
  288.                             >
  289.  
  290. <!ELEMENT dlg:datefield ((%event;)*)>
  291. <!ATTLIST dlg:datefield %default-attributes;
  292.                         dlg:tabstop %boolean; #IMPLIED
  293.                         dlg:readonly %boolean; #IMPLIED
  294.                         dlg:strict-format %boolean; #IMPLIED
  295.                         dlg:date-format (system_short|system_short_YY|system_short_YYYY|system_long|short_DDMMYY|short_MMDDYY|short_YYMMDD|short_DDMMYYYY|short_MMDDYYYY|short_YYYYMMDD|short_YYMMDD_DIN5008|short_YYYYMMDD_DIN5008) #IMPLIED
  296.                         dlg:show-century %boolean; #IMPLIED
  297.                         dlg:value CDATA #IMPLIED
  298.                         dlg:value-min CDATA #IMPLIED
  299.                         dlg:value-max CDATA #IMPLIED
  300.                         dlg:spin %boolean; #IMPLIED
  301.                         dlg:repeat %numeric; #IMPLIED
  302.                         dlg:hide-inactive-selection %boolean; #IMPLIED
  303.                         dlg:dropdown %boolean; #IMPLIED
  304.                         dlg:text CDATA #IMPLIED
  305.                         dlg:enforce-format %boolean; #IMPLIED
  306.                         >
  307.  
  308. <!ELEMENT dlg:numericfield ((%event;)*)>
  309. <!ATTLIST dlg:numericfield %default-attributes;
  310.                            dlg:tabstop %boolean; #IMPLIED
  311.                            dlg:readonly %boolean; #IMPLIED
  312.                            dlg:strict-format %boolean; #IMPLIED
  313.                            dlg:decimal-accuracy %numeric; #IMPLIED
  314.                            dlg:thousands-separator %boolean; #IMPLIED
  315.                            dlg:value %numeric; #IMPLIED
  316.                            dlg:value-min %numeric; #IMPLIED
  317.                            dlg:value-max %numeric; #IMPLIED
  318.                            dlg:value-step %numeric; #IMPLIED
  319.                            dlg:spin %boolean; #IMPLIED
  320.                            dlg:repeat %numeric; #IMPLIED
  321.                            dlg:hide-inactive-selection %boolean; #IMPLIED
  322.                            dlg:enforce-format %boolean; #IMPLIED
  323.                            >
  324.  
  325. <!ELEMENT dlg:timefield ((%event;)*)>
  326. <!ATTLIST dlg:timefield %default-attributes;
  327.                         dlg:tabstop %boolean; #IMPLIED
  328.                         dlg:readonly %boolean; #IMPLIED
  329.                         dlg:strict-format %boolean; #IMPLIED
  330.                         dlg:time-format (24h_short|24h_long|12h_short|12h_long|Duration_short|Duration_long) #IMPLIED
  331.                         dlg:value CDATA #IMPLIED
  332.                         dlg:value-min CDATA #IMPLIED
  333.                         dlg:value-max CDATA #IMPLIED
  334.                         dlg:spin %boolean; #IMPLIED
  335.                         dlg:repeat %numeric; #IMPLIED
  336.                         dlg:hide-inactive-selection %boolean; #IMPLIED
  337.                         dlg:text CDATA #IMPLIED
  338.                         dlg:enforce-format %boolean; #IMPLIED
  339.                         >
  340.  
  341. <!ELEMENT dlg:patternfield ((%event;)*)>
  342. <!ATTLIST dlg:patternfield %default-attributes;
  343.                            dlg:tabstop %boolean; #IMPLIED
  344.                            dlg:readonly %boolean; #IMPLIED
  345.                            dlg:strict-format %boolean; #IMPLIED
  346.                            dlg:edit-mask CDATA #IMPLIED
  347.                            dlg:literal-mask CDATA #IMPLIED
  348.                            dlg:value CDATA #IMPLIED
  349.                            dlg:maxlength %numeric; #IMPLIED
  350.                            dlg:hide-inactive-selection %boolean; #IMPLIED
  351.                            >
  352.  
  353. <!ELEMENT dlg:formattedfield ((%event;)*)>
  354. <!ATTLIST dlg:formattedfield %default-attributes;
  355.                  dlg:tabstop %boolean; #IMPLIED
  356.                  dlg:readonly %boolean; #IMPLIED
  357.                  dlg:strict-format %boolean; #IMPLIED
  358.                  dlg:maxlength %numeric; #IMPLIED
  359.                  dlg:spin %boolean; #IMPLIED                 
  360.                  dlg:align (left|center|right) #IMPLIED
  361.                  dlg:text CDATA #IMPLIED
  362.                  dlg:value-default CDATA #IMPLIED
  363.                  dlg:value-max %numeric; #IMPLIED
  364.                  dlg:value-min %numeric; #IMPLIED
  365.                  dlg:value %numeric; #IMPLIED                 
  366.                  dlg:format-code CDATA #IMPLIED
  367.                  dlg:format-locale CDATA #IMPLIED
  368.                  dlg:repeat %numeric; #IMPLIED
  369.                  dlg:hide-inactive-selection %boolean; #IMPLIED
  370.                  dlg:treat-as-number %boolean; #IMPLIED
  371.                  dlg:enforce-format %boolean; #IMPLIED
  372.                  >
  373.  
  374. <!ELEMENT dlg:fixedline ((%event;)*)>
  375. <!ATTLIST dlg:fixedline %default-attributes;
  376.                         dlg:align (horizontal|vertical) #IMPLIED
  377.                         dlg:value CDATA #IMPLIED
  378.                         >
  379.  
  380. <!ELEMENT dlg:scrollbar ((%event;)*)>
  381. <!ATTLIST dlg:scrollbar %default-attributes;
  382.                         dlg:align (horizontal|vertical) #IMPLIED
  383.                         dlg:curpos %numeric; #IMPLIED
  384.                         dlg:maxpos %numeric; #IMPLIED
  385.                         dlg:minpos %numeric; #IMPLIED
  386.                         dlg:increment %numeric; #IMPLIED
  387.                         dlg:pageincrement %numeric; #IMPLIED
  388.                         dlg:visible-size %numeric; #IMPLIED
  389.                         dlg:repeat %numeric; #IMPLIED
  390.                         dlg:tabstop %boolean; #IMPLIED
  391.                         dlg:live-scroll %boolean; #IMPLIED
  392.                         dlg:symbol-color %numeric; #IMPLIED
  393.                         >
  394.  
  395. <!ELEMENT dlg:progressmeter ((%event;)*)>
  396. <!ATTLIST dlg:progressmeter %default-attributes;
  397.                             dlg:value %numeric; #IMPLIED
  398.                             dlg:value-min %numeric; #IMPLIED
  399.                             dlg:value-max %numeric; #IMPLIED
  400.                             >
  401.